body {
    max-width: 540px;
    min-width: 320px;
    margin: 0 auto;
    font: normal 14px/1.5 Tahoma, "Lucida Grande", Verdana, "Microsoft Yahei", STXihei, hei;
    color: #000;
    background: #f2f2f2;
    overflow-x: hidden;
    -webkit-tap-highlight-color: transparent;
}

div {
    box-sizing: border-box;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
}

.search-index {
    display: flex;
    position: fixed;
    top: 0;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    width: 100%;
    min-width: 320px;
    max-width: 540px;
    height: 44px;
    background-color: #f6f6f6;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
}

.search {
    position: relative;
    flex: 1;
    height: 26px;
    line-height: 24px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .2);
    font-size: 12px;
    color: #666;
    padding-left: 25px;
    margin: 7px 10px;
}

.search::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    width: 15px;
    height: 15px;
    background: url(../images/sprite.png) no-repeat -59px -279px;
    background-size: 104px;
}

.user {
    width: 44px;
    height: 44px;
    font-size: 12px;
    color: #2eaae0;
    text-align: center;
}

.user::before {
    content: '';
    display: block;
    width: 23px;
    height: 23px;
    background: url(../images/sprite.png) no-repeat -59px -194px;
    background-size: 104px;
    margin: 4px auto -2px;
}

.focus {
    padding-top: 44px;
}

.focus img {
    width: 100%;
}

.local-nav {
    display: flex;
    height: 64px;
    background-color: #fff;
    border-radius: 8px;
    margin: 3px 4px;
}

.local-nav li {
    flex: 1;
}

.local-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 12px;
    color: #000;
}

.local-nav li .local-nav-icon {
    width: 32px;
    height: 32px;
    background: url(../images/localnav_bg.png) no-repeat 0 0;
    background-size: 32px;
    margin-top: 8px;
}

.local-nav li:nth-child(2) .local-nav-icon {
    background-position: 0 -32px;
}

.local-nav li:nth-child(3) .local-nav-icon {
    background-position: 0 -64px;
}

.local-nav li:nth-child(4) .local-nav-icon {
    background-position: 0 -96px;
}

.local-nav li:nth-child(5) .local-nav-icon {
    background-position: 0 -128px;
}

nav {
    overflow: hidden;
    height: 270px;
    margin: 0 4px 3px;
    border-radius: 8px;
}

.nav-common {
    display: flex;
    background: -webkit-linear-gradient(left, #FA5A55, #FA994D);
}

.nav-common:nth-child(2) {
    margin: 3px 0;
    background: -webkit-linear-gradient(left, #4B90ED, #53BCED);
}

.nav-common:nth-child(3) {
    background: -webkit-linear-gradient(left, #34C2A9, #6CD559);
}

.nav-common .nav-items {
    display: flex;
    flex: 1;
    height: 88px;
    flex-direction: column;
}

.nav-common .nav-items:nth-child(-n +2) {
    border-right: 1px solid #fff;
}

.nav-common .nav-items a {
    flex: 1;
    line-height: 44px;
    text-align: center;
    color: #fff;
}

.nav-items:nth-child(n +2) a:nth-child(1) {
    border-bottom: 1px solid #fff;
}

.nav-common:nth-child(1) .nav-items:nth-child(1) a {
    background: url(../images/hotel.png) no-repeat bottom center;
    background-size: 121px;
}

.nav-common:nth-child(2) .nav-items:nth-child(1) a {
    background: url(../images/hotel.png) no-repeat bottom center;
    background-size: 121px;
}

.nav-common:nth-child(3) .nav-items:nth-child(1) a {
    background: url(../images/hotel.png) no-repeat bottom center;
    background-size: 121px;
}

.subnav-entry {
    display: flex;
    flex-wrap: wrap;
    background-color: #fff;
    border-radius: 8px;
    padding: 5px 0;
    margin: 0 4px;
    box-shadow: 1px 1px 4px 0 rgba(0, 0, 0, .2);
}

.subnav-entry li {
    flex: 20%;
    height: 52px;
}

.subnav-entry li a {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #000;
}

.subnav-entry-icon {
    width: 24px;
    height: 23px;
    background: url(../images/subnav-bg.png) no-repeat 0 0;
    background-size: 24px;
    margin-top: 4px;
}

.subnav-entry li:nth-child(2) .subnav-entry-icon {
    background-position: 3px -26px;
}

.subnav-entry li:nth-child(3) .subnav-entry-icon {
    background-position: 3px -54px;
}

.subnav-entry li:nth-child(4) .subnav-entry-icon {
    background-position: 2px -276px;
}

.subnav-entry li:nth-child(5) .subnav-entry-icon {
    background-position: 1px -84px;
}

.subnav-entry li:nth-child(6) .subnav-entry-icon {
    background-position: 4px -139px;
}

.subnav-entry li:nth-child(7) .subnav-entry-icon {
    background-position: 1px -169px;
}

.subnav-entry li:nth-child(8) .subnav-entry-icon {
    background-position: 0px -112px;
}

.subnav-entry li:nth-child(9) .subnav-entry-icon {
    background-position: 1px -196px;
}

.subnav-entry li:nth-child(10) .subnav-entry-icon {
    background-position: 3px -247px;
}

.sales-box {
    background-color: #fff;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    margin: 4px;
}

.sales-hd {
    position: relative;
    border-bottom: 1px solid #ccc;
}

.sales-hd h2 {
    position: relative;
    overflow: hidden;
    text-indent: -9999px;
    margin: 6.8px 0;
}

.sales-hd h2::after {
    position: absolute;
    top: 5px;
    left: 8px;
    content: '';
    width: 73px;
    height: 16px;
    background: url(../images/hot.png) no-repeat 0 -20px;
    background-size: 77px;
}

.more {
    position: absolute;
    top: 0;
    right: 5px;
    font-size: 12px;
    color: #fff;
    background: -webkit-linear-gradient(left, #FF506C, #FF6BC6);
    padding: 4px 20px 4px 10px;
    border-radius: 20px;
}

.more::after {
    content: '';
    position: absolute;
    top: 9px;
    right: 10px;
    width: 7px;
    height: 7px;
    transform: rotate(45deg);
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
}

.sales-bd .row {
    display: flex;
    flex-wrap: wrap;
}

.sales-bd .row a {
    flex: 1;
    border-bottom: 1px solid #eee;
}

.sales-bd .row a:nth-child(1) {
    border-right: 1px solid #eee;
}

.sales-bd .row img {
    width: 100%;
}

.footer {
    display: flex;
    height: 49px;
    background-color: #fff;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    margin: 8px 4px;
}

.footer a {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
    font-size: 12px;
    color: #000;
}

.footer .footer-icon {
    width: 19px;
    height: 19px;
    background: url(../images/sprite.png) no-repeat -59px -153px;
    background-size: 104px;
    margin-top: 6px;
}

.footer a:nth-child(2) .footer-icon {
    background-position: -59px -172px;
}

.footer a:nth-child(3) .footer-icon {
    background-position: -60px -310px;
}